<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>屏幕共享</title>
	<script type="text/javascript" src="./jquery-1.9.1.js"></script>
	<script type="text/javascript">
		var source = new EventSource("/sseService/docking");
		source.onmessage = function(event){
			// $("#capture").attr("src",event.data);
			$("#texts").append("<p>"+event.data+"</p>");
		};
	</script>
</head>
<body>
	<div id="texts" style="width: 1920px;height: 1080px;">
<!--		<img id="capture" src=""/>-->
	</div>

</body>
</html>